package com.yanze.service;

import com.yanze.pojo.User;

public interface UserService {

    //向User表中插入一条数据  用于注册
    void insertUser(User user);

    //根据userphone查询
    User queryUserByPhone(String userphone);

    //根据userid查询user
    User queryUserById(String userid);

    int updateUser(User user);
}
